import store from '../../../store/store.js'
import * as ActionTypes from '../../../constants/constants.js'
import { isUser, isWxUser, path, saveData, loadData, removeData ,requstPromise} from '../../../util/utils.js'
import request from '../../../api/request.js'

export async function goodDetails(options) {
    const { dispatch } = this.props
    const res = await request.goodDetails(options)
    console.log(res)
    return requstPromise(res)
}
